require(["jSouper", "hash_routie", "coAjax"], function(jSouper, hash_routie, coAjax) {

	/*
	 * HASH路由
	 */
	hash_routie({
		html_url: "./pages/personal/",
		js_url: "./js/pages/personal/",
		hash_prefix: "personal/:page",
		default_hash: "orders",
		teleporter: "right"
	});
	//账户余额
	var bus_id = appConfig.bus_id;
	if (bus_id) {
		coAjax.get(appConfig.user.bus_user_by_bus_id, {
			bus_id: bus_id
		}, function(result) {
			App.set("$Cache.personal.current_bus_user", result.result);
		});
	}
});